package com.edu.hre.common;

public class CurrentUserInfo {
	private boolean isValid;
	private int userId;
	private String userShortName;
	private int userRoleId;
	private int userSubUnitId;
	private int userIdSurvey;
	private boolean canViewEmployee;
	private boolean canViewChartResouce;
	private boolean canViewChartLeave;
	public boolean isValid() {
		return isValid;
	}

	public void setValid(boolean isValid) {
		this.isValid = isValid;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserShortName() {
		return userShortName;
	}

	public void setUserShortName(String userShortName) {
		this.userShortName = userShortName;
	}

	
	public int getUserRoleId() {
		return userRoleId;
	}

	public void setUserRoleId(int userRoleId) {
		this.userRoleId = userRoleId;
	}

	public int getUserSubUnitId() {
		return userSubUnitId;
	}

	public void setUserSubUnitId(int userSubUnitId) {
		this.userSubUnitId = userSubUnitId;
	}

	public int getUserIdSurvey() {
		return userIdSurvey;
	}

	public void setUserIdSurvey(int userIdSurvey) {
		this.userIdSurvey = userIdSurvey;
	}

	public boolean isCanViewChartResouce() {
		return canViewChartResouce;
	}

	public void setCanViewChartResouce(boolean canViewChartResouce) {
		this.canViewChartResouce = canViewChartResouce;
	}

	public boolean isCanViewEmployee() {
		return canViewEmployee;
	}

	public void setCanViewEmployee(boolean canViewEmployee) {
		this.canViewEmployee = canViewEmployee;
	}

	public boolean isCanViewChartLeave() {
		return canViewChartLeave;
	}

	public void setCanViewChartLeave(boolean canViewChartLeave) {
		this.canViewChartLeave = canViewChartLeave;
	}
}
